from django.contrib import admin
from .models import ForumType,Forum
@admin.register(ForumType)
class BlogTypeAdmin(admin.ModelAdmin):
    list_display = ('id','type_name')
@admin.register(Forum)
class BlogAdmin(admin.ModelAdmin):
    list_display = ('title','blog_type','author','read_num','create_time','last_updated_time')
# Register your models here.
from django.contrib import admin

# Register your models here.
